﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Jifen.master" AutoEventWireup="true" CodeFile="History.aspx.cs" Inherits="SY.WebSite.Web.Jifen.History" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>历史拍卖 - 素币系统 - <%= Settings.Title %></title>
    <link href="<%= Settings.StaticFileDomain %>/Scripts/util/jquery-pagination/lib/jquery_pagination/pagination.css" rel="stylesheet" type="text/css" />
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/template/trimpath-template.js" type="text/javascript"></script>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/jquery-pagination/lib/jquery_pagination/jquery.pagination.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" Runat="Server">
    <div id="result"></div>
    <div id="pagination"></div>
        
    <textarea name="auctionlist" id="auctionlist" style="display:none;">       
        {for l in list}
            <div class="row">
                <div class="twelve columns">
                    <div class="panel">
                        <div class="row">
                            <div class="nine columns info" style="min-height:150px;">
                                <img src="@{l.Image}" style="width:120px; height:120px; position:absolute;" alt="@{l.Title}" />
                                <div class="auction-info">
                                    <label class="title"><strong>@{l.Title}</strong></label>
                                    <p>@{l.StartTime.ToDate().Format('yyyy-MM-dd hh:mm')} - @{l.EndTime.ToDate().Format('yyyy-MM-dd hh:mm')}</p>
                                    <p>数量：@{l.Count}</p>
                                    <p>@{l.Description}</p>
                                </div>
                            </div>
                            <div class="three columns">
                                <input type="button" class="button small w120" value="查看拍卖详情" onclick="page.showAuction(@{l.Id})" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        {forelse}
            <div class="row">
                <div class="twelve columns">
                    <div class="panel">
                        <p>暂无历史竞拍 :-)</p>
                        <p><a href="Auction.aspx">查看正在竞拍</a> </p>
                    </div>
                </div>
            </div>
        {/for}
    </textarea>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/page/jifen/history.js" type="text/javascript"></script>
</asp:Content>